﻿using Elasticsearch.Synchronize.Domain.Aggregates.SynchronizeAggregate;
using Elasticsearch.Synchronize.Domain.SeedWork;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Elasticsearch.Synchronize.Domain.Interface
{
    public interface ISynchronizeRuleRepository : IRepository<SynchronizeRule>
    {
        List<SynchronizeRule> GetValidRules();

        void Update(string identity, SynchronizeRule rule);
    }
}